package handler;

import java.util.List;

/**
 * Abstract interface for saving/reading notebook equations. All methods of
 * saving/loading notebook files must implement this interface.
 * 
 * @author Jared Schlicht
 */
public interface NotebookDAO {
    /**
     * Gets a list of notebook equations from this data source.
     * 
     * @author Jared Schlicht
     * @return List of notebook equation objects
     */
    public abstract List<EquateNode> getEquations();
    
    /**
     * Saves the equations to this data source
     * 
     * @author Jared Schlicht
     * @param notebookEquations collection of notebook equations to save
     */
    public abstract void saveEquations(List<EquateNode> notebookEquations);
}
